package com.nicy.dream.utils;

import java.util.Random;
import java.util.UUID;

/**
 * @description: 随机工具类
 * @projectName:dream
 * @see:com.nicy.dream.utils
 * @author:NicyYe
 * @createTime:2021/2/19 14:54
 * @version:1.0
 */
public class RandomUtil{

    public static String getUUID(){
        UUID uuid = UUID.randomUUID();
        String uid = uuid.toString().replace("-","");
        return uid;
    }
}
